新概念集团 · 智能中枢统一入口 · 自适应合并版

🚀 智能中枢 v3 · 自适应合并版

这是一个统一入口——所有栏目和功能模块已智能合并成更强版本,且会每日自动迭代直到完全收敛。

  • 点击左侧任何菜单项 = 跳到对应的真实业务页(独立加载、不再嵌入、不再裸渲染模板)
  • 按住 Ctrl 点击 = 在新标签页打开(适合多任务并行)
  • 每日 04:00 自适应引擎自动巡检:死链清理 / 近义合并 / 低频收敛
⚠️ 本中枢采用「菜单直跳业务页」架构——避免嵌套渲染导致的模板字符串裸输出(已根治乱码)
// __WB_STATIONS_BEGIN__ const STATIONS = [{id:'t1',name:'物业增收',icon:'🏢',home:'/module-property.html',items:[{g:'核心',items:[{icon:'🏠',label:'物业总览',url:'/module-property.html'},{icon:'🛎️',label:'经纪人·租售',url:'/parking_broker.html'},{icon:'📋',label:'对接台账',url:'/parking_outreach.html'}]},{g:'更多',items:[{icon:'📦',label:'对接台账',url:'/parking_outreach.html'},{icon:'📦',label:'经纪人·租售',url:'/parking_broker.html'},{icon:'📦',label:'物业总览',url:'/module-property.html'}]},{g:'物业增收',items:[{icon:'⛔',label:'对接台账',url:'/parking_outreach.html'},{icon:'⛔',label:'经纪人·租售',url:'/parking_broker.html'},{icon:'⛔',label:'物业总览',url:'/module-property.html'}]}]},{id:'t2',name:'车位租售',icon:'🅿️',home:'/module-parking.html',items:[{g:'核心',items:[{icon:'🏠',label:'停车场租售',url:'/parking-market'},{icon:'🅿️',label:'停车场台账',url:'/module-parking.html'},{icon:'🤖',label:'智能推荐·闭环',url:'/predictive-scoring.html'}]},{g:'更多',items:[{icon:'📦',label:'智能推荐·闭环',url:'/predictive-scoring.html'},{icon:'📦',label:'停车场租售',url:'/parking-market'},{icon:'📦',label:'停车场台账',url:'/module-parking.html'}]},{g:'车位租售',items:[{icon:'⛔',label:'停车场租售',url:'/parking-market'},{icon:'⛔',label:'停车场台账',url:'/module-parking.html'},{icon:'⛔',label:'智能推荐·闭环',url:'/predictive-scoring.html'}]},{g:'⛔_已下线',items:[{icon:'⛔',label:'停车场租售',url:'/parking-market'}]}]},{id:'t3',name:'数字电站',icon:'⚡',home:'/module-charging.html',items:[{g:'资产与选址',items:[{icon:'⚡',label:'充电桩·资产',url:'/charging_pile.html'},{icon:'🗺️',label:'选址·点位·地图',url:'/static/site-map.html'}]},{g:'决策与方案',items:[{icon:'🔥',label:'场站热点评分',url:'/tools/场站热点智能评分系统.html'},{icon:'📊',label:'分成·分润方案',url:'/tools/分成方案.html'},{icon:'⚖️',label:'设备性能对比',url:'/tools/设备性能对比.html'},{icon:'📑',label:'政策评分·推荐',url:'/policy-score'}]},{g:'运营',items:[{icon:'📋',label:'选址调查表',url:'/site_survey_form.html'},{icon:'🔋',label:'虚拟电站·地锁',url:'/vp'}]},{g:'数字电站',items:[{icon:'⛔',label:'选址调查表',url:'/site_survey_form.html'},{icon:'⛔',label:'政策评分·推荐',url:'/policy-score'},{icon:'⛔',label:'充电桩·资产',url:'/charging_pile.html'},{icon:'⛔',label:'选址·点位·地图',url:'/static/site-map.html'},{icon:'⛔',label:'分成·分润方案',url:'/tools/分成方案.html'},{icon:'⛔',label:'设备性能对比',url:'/tools/设备性能对比.html'},{icon:'⛔',label:'场站热点评分',url:'/tools/场站热点智能评分系统.html'},{icon:'⛔',label:'虚拟电站·地锁',url:'/vp'}]},{g:'更多',items:[{icon:'📦',label:'虚拟电站·地锁',url:'/vp'}]}]},{id:'t4',name:'AI超级老师',icon:'🤖',home:'/ai-drone-home.html',items:[{g:'总览与工作台',items:[{icon:'🚀',label:'智能一体化工作台',url:'/smart-workbench.html'},{icon:'🤖',label:'AI超级老师总览',url:'/ai-drone-home.html'}]},{g:'AI教育产品',items:[{icon:'📱',label:'AI学习机',url:'/ai-device.html'},{icon:'👨‍🏫',label:'真人上门辅导',url:'/ai-tutor.html'},{icon:'💻',label:'在线AI课程',url:'/ai-online.html'},{icon:'📈',label:'学情管理',url:'/ai-progress.html'},{icon:'🎁',label:'AI体验课',url:'/ai-experience.html'}]},{g:'无人机培训体系',items:[{icon:'🧒',label:'青少年培训',url:'/drone-youth.html'},{icon:'📜',label:'CAAC执照考证',url:'/drone-caac.html'},{icon:'🔧',label:'装调·入校·电力',url:'/drone-repair.html'}]},{g:'⛔_已下线',items:[{icon:'⛔',label:'AI学习机',url:'/ai-device.html'}]},{g:'AI超级老师',items:[{icon:'⛔',label:'AI学习机',url:'/ai-device.html'},{icon:'⛔',label:'真人上门辅导',url:'/ai-tutor.html'},{icon:'⛔',label:'AI体验课',url:'/ai-experience.html'},{icon:'⛔',label:'在线AI课程',url:'/ai-online.html'},{icon:'⛔',label:'智能一体化工作台',url:'/smart-workbench.html'},{icon:'⛔',label:'学情管理',url:'/ai-progress.html'},{icon:'⛔',label:'AI超级老师总览',url:'/ai-drone-home.html'},{icon:'⛔',label:'青少年培训',url:'/drone-youth.html'},{icon:'⛔',label:'装调·入校·电力',url:'/drone-repair.html'},{icon:'⛔',label:'CAAC执照考证',url:'/drone-caac.html'}]},{g:'更多',items:[{icon:'📦',label:'AI学习机',url:'/ai-device.html'},{icon:'📦',label:'学情管理',url:'/ai-progress.html'},{icon:'📦',label:'AI超级老师总览',url:'/ai-drone-home.html'},{icon:'📦',label:'青少年培训',url:'/drone-youth.html'},{icon:'📦',label:'在线AI课程',url:'/ai-online.html'}]}]},{id:'t5',name:'周边联盟',icon:'🤝',home:'/alliance-home.html',items:[{g:'核心',items:[{icon:'🏪',label:'商家广场·联盟',url:'/alliance-home.html'},{icon:'🤝',label:'合作招商·合伙人',url:'/partner_plan.html'},{icon:'🎧',label:'客服工单',url:'/kefu'}]},{g:'更多',items:[{icon:'📦',label:'客服工单',url:'/kefu'},{icon:'📦',label:'商家广场·联盟',url:'/alliance-home.html'},{icon:'📦',label:'合作招商·合伙人',url:'/partner_plan.html'}]},{g:'周边联盟',items:[{icon:'⛔',label:'客服工单',url:'/kefu'},{icon:'⛔',label:'商家广场·联盟',url:'/alliance-home.html'},{icon:'⛔',label:'合作招商·合伙人',url:'/partner_plan.html'}]}]},{id:'t6',name:'会员CRM',icon:'👥',home:'/crm_frontend.html',items:[{g:'客户管理',items:[{icon:'📊',label:'CRM工作台',url:'/crm_frontend.html'},{icon:'📑',label:'招投标信息',url:'/tenders'},{icon:'🧩',label:'跟进闭环看板',url:'/tools/跟进闭环看板.html'}]},{g:'会员CRM',items:[{icon:'⛔',label:'CRM工作台',url:'/crm_frontend.html'},{icon:'⛔',label:'招投标信息',url:'/tenders'},{icon:'⛔',label:'跟进闭环看板',url:'/tools/跟进闭环看板.html'}]},{g:'更多',items:[{icon:'📦',label:'CRM工作台',url:'/crm_frontend.html'},{icon:'📦',label:'跟进闭环看板',url:'/tools/跟进闭环看板.html'},{icon:'📦',label:'招投标信息',url:'/tenders'}]},{g:'⛔_已下线',items:[{icon:'⛔',label:'招投标信息',url:'/tenders'}]}]},{id:'t7',name:'集团调度',icon:'📊',home:'/group-dashboard.html',items:[{g:'经营总览',items:[{icon:'🏛️',label:'集团智能运营总台',url:'/group-dashboard.html'},{icon:'📈',label:'业绩中心',url:'/metrics'},{icon:'🏭',label:'行业分析',url:'/industries'},{icon:'📥',label:'企微收件',url:'/wecom-inbox'}]},{g:'总图·矩阵',items:[{icon:'🗺️',label:'运营/生态总图',url:'/operations-map.html'},{icon:'📣',label:'运营矩阵',url:'/operations'}]},{g:'管理',items:[{icon:'🧩',label:'模块中心',url:'/mod-center'},{icon:'🏢',label:'企业资料',url:'/enterprise'},{icon:'👥',label:'团队与权限',url:'/team'},{icon:'🏆',label:'绩效管理',url:'/perf'},{icon:'📥',label:'招聘中心',url:'/recruit'}]},{g:'更多',items:[{icon:'📍',label:'考勤外勤',url:'/field'},{icon:'📷',label:'拍照识别',url:'/photoscan'},{icon:'🔍',label:'数据自检',url:'/debug'},{icon:'📦',label:'运营/生态总图',url:'/operations-map.html'}]},{g:'集团调度',items:[{icon:'⛔',label:'运营/生态总图',url:'/operations-map.html'},{icon:'⛔',label:'拍照识别',url:'/photoscan'},{icon:'⛔',label:'集团智能运营总台',url:'/group-dashboard.html'},{icon:'⛔',label:'数据自检',url:'/debug'},{icon:'⛔',label:'招聘中心',url:'/recruit'},{icon:'⛔',label:'运营矩阵',url:'/operations'},{icon:'⛔',label:'企业资料',url:'/enterprise'},{icon:'⛔',label:'绩效管理',url:'/perf'},{icon:'⛔',label:'模块中心',url:'/mod-center'},{icon:'⛔',label:'业绩中心',url:'/metrics'},{icon:'⛔',label:'团队与权限',url:'/team'},{icon:'⛔',label:'考勤外勤',url:'/field'},{icon:'⛔',label:'行业分析',url:'/industries'},{icon:'⛔',label:'企微收件',url:'/wecom-inbox'}]},{g:'⛔_已下线',items:[{icon:'⛔',label:'企微收件',url:'/wecom-inbox'},{icon:'⛔',label:'模块中心',url:'/mod-center'}]}]}]; // __WB_STATIONS_END__ const ROLE_LABEL = {super_admin:'超级管理员',admin:'管理员',manager:'经理',hr:'人事',sales:'销售',employee:'员工',partner:'合伙人',guest:'访客',finance:'财务'}; let USER = null; const TOKEN_KEY = 'crm_token'; const getToken = () => { try { return localStorage.getItem(TOKEN_KEY)||''; } catch(e) { return ''; } }; const clearToken = () => { try { localStorage.removeItem(TOKEN_KEY); } catch(e) {} }; async function ensureAuth(){ const t = getToken(); if(!t){ location.replace('/login.html?next='+encodeURIComponent(location.pathname)); return false; } try{ const r = await fetch('/api/auth/me',{headers:{Authorization:'Bearer '+t}}); if(!r.ok){ clearToken(); location.replace('/login.html?next='+encodeURIComponent(location.pathname)); return false; } USER = await r.json(); return true; }catch(e){ USER = window.currentUser || {username:'(离线)',role:'guest'}; return true; } } function renderSidebar(){ const aside = document.querySelector('aside#sidebar'); if(!aside) return; aside.innerHTML = ''; // 4 置顶驾驶舱入口 const top = document.createElement('div'); top.innerHTML = `

驾驶舱置顶

🚀 集团合并驾驶舱 🗺️ 全站合并门户 🧭 智能合并中枢 🔍 数字下钻总台

7 总台自适应合并

`; aside.appendChild(top); STATIONS.forEach((g)=>{ const w = document.createElement('div'); w.className = 'station open'; w.dataset.id = g.id; let body = '
'; body += `🏠 总台首页`; g.items.forEach(group=>{ body += `
${group.g}
`; body += group.items.map(it=>`${it.icon} ${it.label}`).join(''); }); body += '
'; w.innerHTML = `
${g.icon} ${g.name}
${body} `; aside.appendChild(w); }); aside.addEventListener('click',(ev)=>{ const t = ev.target.closest('[data-toggle]'); if(t) t.parentElement.classList.toggle('open'); }); } function renderWho(){ const role = (USER && USER.role) || 'guest'; const name = (USER && USER.username) || '访客'; document.getElementById('who').innerHTML = `${name} ${ROLE_LABEL[role]||role}`; } function renderQuickTabs(){ // 渲染顶部快速入口(运营总台 4 个 + 7 总台首页) const list = [ ['🚀 集团驾驶舱','/group-cockpit.html'], ['🗺️ 全站合并','/site-merge.html'], ['🧭 智能合并','/smart-merge-hub.html'], ['🔍 数字下钻','/drill-center.html'], ]; STATIONS.forEach(g => list.push([g.icon + ' ' + g.name, g.home])); const el = document.getElementById('quick'); if(!el) return; el.innerHTML = list.map(([t,u])=>`${t}`).join(''); } document.getElementById('logout').onclick = ()=>{ clearToken(); location.replace('/login.html'); }; async function main(){ const ok = await ensureAuth(); if(!ok) return; renderWho(); renderSidebar(); renderQuickTabs(); } main();